package com.atguigu.springbootdemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/*
启动这个主启动类时，此时默认会创建一个容器
容器会自动扫描这个类的包及其子包
 */
@SpringBootApplication
@EnableScheduling   //允许自动调度
public class SpringBootdemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootdemoApplication.class, args);
    }

}
